TextGrid : Features of the Design View

Add and Edit DTD Information

 This menu item is currently not supported . You might convert your DTD to XML schema and associate it by using “XML > Associate a Schema ...” as a workaround. 

Add and Edit Schema Information

 A namespace can be chosen with the context menu in the Design View. Select “Edit Namespaces...” and the “Edit Schema Information” window opens. The Namespace Declarations consist of a prefix, the namespace name and a location hint. Click “Add” to continue. In the “Add Namespace Declarations” window you can choose between selecting from a registered namespace or specifying a new one by using the radio buttons. Select registered namespaces by marking the boxes in front of them and clicking “OK”. Alternatively, a new namespace can be specified.

The chosen namespace declarations are now shown in the “Edit Schema Information” window. Please click “Edit...”. Enter the required prefix and namespace URI for the namespace declaration. Click “Browse” for a location hint. The “Select File” window will open. Click “OK” or “Cancel” to finish and get back to the “Add Namespace Declarations” window.

As soon as the namespace is specified, finish the operation with “OK”. If no specified namespace should be added, click “Cancel”. This will return you to the “Edit Schema Information” dialog in which the previously added specified namespace is now visible.

Use “Add” to enclose further namespaces. Select “Edit” to change the particulars of already added namespaces. Use “Delete” to remove them. Finish the dialog with “Cancel” or “OK” . Once added namespaces can be edited by right-clicking them and selecting “Edit Namespaces...” The namespace name can also be changed by left-clicking the corresponding field in the Design View.

Add and Edit Processing Instructions

 Processing Instructions can be included by right-clicking the place where it should be added and selecting “Add Child”, “Add Before” or “Add After” and afterwards “Add Processing Instruction”. This is not possible when right-clicking on attributes in the tree structure. A processing instruction is specified with its target and its data. The "Target" field is used to identify the application to which the instruction belongs. The "Data" field contains the instructions. Click “OK” to add the instruction. An already existing processing instruction can be worked on after right-clicking it and choosing “Edit Processing Instruction”. The window pop-up has the same format as the “Add Processing Instruction” window. The data can also be changed by left-clicking the corresponding field in the content column.

Add Elements

 Right-click the element where a new element should be added. Choose if the new element should be added before or after the right-clicked element or if it should be its child element ("Add Before”, "Add After”, “Add Child”). Then click “New Element...”. Enter the element’s name and press “OK”.

Add and Edit Attributes

 Right-click an element and select “Add Attribute” and “New Attribute”. Enter the name and the value of the attribute and click “OK”. An already existing attribute in the Design View Editor Field can be worked on after right-clicking it and choosing “Edit Attribute”. The popping-up window has the same structure as the “Add Attribute” window. The value of the attribute can also be changed by left-clicking the corresponding field in the "Content" column of the Design View.